set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0")

cmake_minimum_required(VERSION 3.10)
project(ciny LANGUAGES C)


set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

# 包含头文件目录
include_directories(
    ${PROJECT_SOURCE_DIR}/include
)


# 普通源文件
file(GLOB CNet_SOURCES "src/CNet/*.c")
file(GLOB Tool_SOURCES "src/Tool/*.c")

# Main源文件列表
set(TempTest_SOURCES
    src/Main/tempTest.c
)
set(TestTreads_SOURCES
    src/Main/testTreads.c
)
set(TestV1_SOURCES
    src/Main/testV1.c
    ${CNet_SOURCES}
    ${Tool_SOURCES}
)


# 可执行文件
add_executable(testTreads ${TestTreads_SOURCES})
add_executable(testV1 ${TestV1_SOURCES} )
add_executable(tempTest ${TempTest_SOURCES})

# 设置输出目录
